import { RouterState } from "connected-react-router";
import count from "./count";
import auth from "./auth";
import category from "./category";
import product from "./product";

const models = [count, auth, category, product];

export type RootState = {
  count: typeof count.state;
  auth: typeof auth.state;
  category: typeof category.state;
  product: typeof product.state;
  router: RouterState;
};

export default models;
